//
//  PhotoBrowserCell.h
//  XinLang_OC
//
//  Created by WONG on 16/6/11.
//  Copyright © 2016年 cheuhui. All rights reserved.
//

#import <UIKit/UIKit.h>
@class ImageView;

@protocol CZPhotoBrowserCellDelegate <NSObject>

/// 返回一个view设置背景
- (UIView *)viewForTransparent;

/// 关闭控制器
- (void)photoBrowserCellDismissController;

/// 返回大图缩放到小图的位置
- (CGRect)photoBrowserCellDismissTargetRect;

@end

@interface PhotoBrowserCell : UICollectionViewCell

@property(nonatomic,strong) ImageView *imageView;

/// 图片的URL
@property(nonatomic,strong) NSURL *url;

@property(nonatomic,weak) id<CZPhotoBrowserCellDelegate> delegate;

@end
